import { request } from "../utils/request";

export function uploadImageAPI(data) {
    return request({
        url: '/houses/image',
        method: 'POST',
        data,
        headers: {
            'Content-Type': 'multipart/form-data;charset=utf-8' 
        }
    })
}